package com.goods.business.service;

import com.goods.common.error.BusinessException;
import com.goods.common.vo.business.ProductVO;
import com.goods.common.vo.system.PageVO;

public interface ProductService {
    PageVO findProductList(Integer pageNum, Integer pageSize, ProductVO productVO);

    void add(ProductVO productVO);

    ProductVO edit(Long id);

    void update(Long id ,ProductVO productVO);

    void remove(Long id) throws BusinessException;

    void back(Long id);

    void delete(Long id) throws BusinessException;

    void publish(Long id) throws BusinessException;
}
